<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{$title}</title>
 <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
 <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
 <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
 <style>
.container{
	width:960px;
}
#code{
	cursor:pointer;
}
.error_name,.error_password,.error_code,.error_codenull,.error_phone{
	color:red;
	display:none;
}
#form_div{
	text-align:right;
	margin:150px 0;
	float:right;
	padding-right:100px;
}
</style>
</head>
<body>
<script>
/* 定义javascript常量 */
var THINK = new Array();
	THINK['code']="{:U('Login/code')}";
	THINK['check_code']="{:U('Login/check_code')}";
</script>
<script src="__PUBLIC__/Admin/js/login.js"></script>
<div class="container">
	<div id="form_div">
		<form class="form-horizontal" role="form" method="post" action="" id="submit_form">
			<div class="form-group">
	      		<label for="name" class="col-sm-4 control-label">用户名</label>
	      		<div class="col-sm-8">
	         		<input type="text" class="form-control" name="name" id="name" placeholder="请输入用户名">
	      		</div><br>
	      		<span class="error_name col-sm-12">用户名不能为空且不能小于4位</span>
	   		</div>
	   		
	   		<div class="form-group">
	      		<label for="password" class="col-sm-4 control-label">密　码</label>
	      		<div class="col-sm-8">
	         		<input type="password" class="form-control" name="password" id="password" placeholder="请输入密码">
	      		</div><br>
	      		<span class="error_password  col-sm-12">密码不能为空且不能小于6位</span>
	   		</div>
		
			<div class="form-group">
	      		<label for="phone" class="col-sm-4 control-label">手　机</label>
	      		<div class="col-sm-8">
	         		<input type="text" class="form-control" name="phone" id="phone" placeholder="请输入手机号码">
	      		</div>
	      		<br>
	      		<span class="error_phone  col-sm-12">手机号码不能为空且不能小于11位</span>
		   	</div>
		   	
		   	<div class="form-group">
	      		<div class="col-sm-12">
					<img src="{:U('Login/code')}" alt="验证码" title="点击获取新验证码" id="code">
	      		</div>
		   	</div>
		   	
		   <div class="form-group">
	      		<label for="code" class="col-sm-4 control-label">验证码</label>
	      		<div class="col-sm-8">
	         		<input type="text" class="form-control" id="input_code" placeholder="请输入验证码">
	      		</div><br>
	      		<span class="error_code  col-sm-12">验证码不正确</span><span class="error_codenull  col-sm-12">验证码不能为空且不能小于5位</span>
		   	</div>
		   	
		   	<div class="form-group">
		   	<label for="submit" class="col-sm-4 control-label"></label>
	      		<div class="col-sm-8">
	         		<input type="button" class="form-control btn btn-primary" id="submit_btn" class="btn " value="登录">
	      		</div>
		   	</div>
		</form>
	</div>
</div>
</body>
</html>